package datastructure;

public class Term {
	protected String content;
	
	public Term() {}
	
	public Term(String content) {
		this.setContent(content);
	}

	public void setContent(String content) {
		this.content = content;
	}

	public String getContent() {
		return content;
	}
	
	@Override
	public boolean equals(Object toCheck) {
		Term term = (Term)toCheck;
		return content.equalsIgnoreCase(term.getContent());
	}
	
	public String toString() {
		return content;
	}
	
	public boolean isEmpty() {
		return false;
	}
}
